import './itemList.mod.css';
var count = 0;
const ListItem = (props) => {
	return (
		<div className="row mb-3">
			<div className="col-6 themed-grid-col title">{props.data.name}</div>
			<div className="col-1 themed-grid-col">￥{props.data.price}</div>
			<div className={`col-2 themed-grid-col${count ? '' : '-s'}`}>
				{props.data.stock}
			</div>
		</div>
	);
};

export default ListItem;
